package com.chixing.day09_innerclass.order;

import java.util.Arrays;

public class OrderTest {
    public static void main(String[] args) {
        Order order1 = new PersonOrder(101," 茉莉",52421,1520,"2022-3-1");
        Order order2 = new EnterpriseOrder(101," 茉莉",52421,545,"2022-3-1");
        Order order3 = new GoveOrder(101," 茉莉",52421,2530,"2022-3-1");

        Order[] arr = OrderProcessUtil.process(order3);
        System.out.println(Arrays.toString(arr));
    }
}
